package com.zuikaku.vo;

import com.zuikaku.pojo.Role;

import java.io.Serializable;
import java.util.List;

public class UserVO implements Serializable {
    private Integer userId;

    private String username;

    private String password;

    private String nickname;

    private Integer vip;

    private List<Role> roleList;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getVip() {
        return vip;
    }

    public void setVip(Integer vip) {
        this.vip = vip;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public UserVO() {
    }

    public UserVO(Integer userId, String username, String password, String nickname, Integer vip, List<Role> roleList) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.vip = vip;
        this.roleList = roleList;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", vip=" + vip +
                ", roleList=" + roleList +
                '}';
    }
}
